﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QqForm
{
    public class Message
    {
        private string _uid;

        public string Uid
        {
            get { return _uid; }
            set { _uid = value; }
        }

        private string _nk;

        public string Nk
        {
            get { return _nk; }
            set { _nk = value; }
        }

        private string _msg;

        public string Msg
        {
            get { return _msg; }
            set { _msg = value; }
        }

        private DateTime time;

        public DateTime Time
        {
            get { return time; }
            set { time = value; }
        }

        public Message(string uid, string nk, string msg)
        {
            this._uid = uid;
            this._nk = nk;
            this._msg = msg;
            this.time = DateTime.Now;
        }
    }
}
